Sympathy: A Debugging System for Sensor Networks

نویسندگان

  • Nithya Ramanathan
  • Eddie Kohler
  • Lewis Girod
  • Deborah Estrin
چکیده

Sensor networks—networks of small, resource-constrained wireless devices embedded in a dynamic physical environment—have led to new algorithm, protocol, and operating system designs [1], [2]. Interactions between sensor hardware, protocols, and environmental characteristics are impossible to predict, so sensor network application design is an iterative process between debugging and deployment [3]. Current debugging techniques fall short for systems which contain bugs characteristic of both distributed and embedded systems. Such bugs can be difficult to track because they are often multicausal, non-repeatible, timing-sensitive and have ephemeral triggers such as race conditions, decisions based on asynchronous changes in distributed state, or interactions with the physical environment. Furthermore, it is a challenge to extract debugging information from a running system without introducing the probing effect (alteration of normal behavior due to instrumentation) or draining excessive energy. This paper presents a preliminary design and evaluation of Sympathy, a debugging tool for pre-deployment sensor networks and motivated by Ruan and Pai’s DeBox system [4]. Sympathy consists of mechanisms for collecting system performance metrics with minimal memory overhead; mechanisms for recognizing events based on these metrics; and a system for collecting events and their spatio-temporal context. Sympathy introduces the idea of correlating seemingly unrelated events, and providing context for these events, in order to track down bugs and find their root causes. Using Sympathy we have begun to distill out the important metrics, events and generic correlators that help find bugs quickly, and to transmit this data in ways that minimize energy consumption and probing effects. This process is ongoing. Our current contribution, then, is a tool that can be used for pre-deployment debugging, and for analysis on the role of a debugging tool in the entire design process. Eventually, Sympathy will be part of a system that can aid in debugging sensor networks both preand post-deployment. Below we present a useful case study that demonstrates our current contributions by showing how Sympathy was used to debug a failure in tiny diffusion. In related work, [5] and [6] address the data collection aspects of post-deployment debugging, but focus on the mechanism to gather statistics instead of their content. Our work is complementary, since Sympathy is so far mostly concerned with content: discovering the most useful metrics to collect. Simulations and visualization tools are also helpful, but do not capture historical context or aid in determining the cause of a failure. While log files can provide context to a failure, they often contain excessive data which can obfuscate important events. Sympathy distinguishes itself from passive data logging approaches by proactively collecting and highlighting potentially relevant events and their context in order to aid in isolating their causes.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Network Management in Wireless Sensor Networks

IV. Network Management Systems 5 A. Sensor Network Management Framework 5 1. BOSS 5 2. MANNA 6 B. Sensor Network Management Protocols 8 1. RRP 8 2. SNMS 9 3. sNMP 10 4. WinMS 11 C. Management By Delegation 12 1. Agilla 12 2. Mobile Agent-Based Policy Management 12 3. Sectoral Sweeper 12 4. Intelligent Agent-Based Power Management 13 D. Debugging Tools 13 1. Sympathy 13 2. Two-Phase Self-Monitor...

متن کامل

A Passive Diagnosis for Self organizing and Distributed Wireless Sensor Networks

Network diagnosis, an essential research topic for traditional networking systems, has not received much attention for wireless sensor networks (WSNs). Existing sensor debugging tools like sympathy or EmStar rely heavily on an add-in protocol that generates and reports a large amount of status information from individual sensor nodes, introducing network overhead to the resource constrained and...

متن کامل

Demo Abstract: Passive Inspection of Deployed Sensor Networks with SNIF

We demonstrate a tool that allows inspection and debugging of deployed wireless sensor networks (WSN) by analyzing overheard radio messages. This tool can identify common problems such as node crashes, reboots, routing problems, and network partitions without instrumentation of sensor nodes. Existing approaches to identify performance problems and bugs in deployed WSN such as Sympathy [5] requi...

متن کامل

Toward an energy efficient PKC-based key management system for wireless sensor networks

Due to wireless nature and hostile environment, providing of security is a critical and vital task in wireless sensor networks (WSNs). It is known that key management is an integral part of a secure network. Unfortunately, in most of the previous methods, security is compromised in favor of reducing energy consumption. Consequently, they lack perfect resilience and are not fit for applications ...

متن کامل

An efficient solution for management of pre-distribution in wireless sensor networks

A sensor node is composed of different parts including processing units, sensor, transmitter, receiver, and security unit. There are many nodes in a sensor unit. These networks can be used for military, industrial, medicine, environmental, house, and many other applications. These nodes may be established in the lands of enemies to monitor the relations. Hence, it is important to consider conse...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2004